package com.ruoyi.train.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训管理对象 sys_user_train
 * 
 * @author ruoyi
 * @date 2024-09-29
 */
public class SysUserTrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 级别 */
    @Excel(name = "级别" ,dictType = "train_type")
    private Integer level;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 培训内容 */
    @Excel(name = "培训内容")
    private String content;

    /** 培训人员 */
    @Excel(name = "培训人员")
    private String users;

    /** 培训课时 */
    @Excel(name = "培训课时")
    private BigDecimal hour;

    /** $column.columnComment */
    private String extar1;

    /** $column.columnComment */
    private String extar2;

    /** $column.columnComment */
    private String extar3;

    /** $column.columnComment */
    private String extar4;

    /** $column.columnComment */
    private String extar5;

    /** $column.columnComment */
    private String extar6;

    /** 受训人签字 */
//    @Excel(name = "受训人签字")
    private String sign;

    /** 培训效果 */
    @Excel(name = "培训效果")
    private String effect;

    /** 培训总结 */
    @Excel(name = "培训总结")
    private String summary;

    /** 受训人id */
    @Excel(name = "受训人")
    private String userName;

    private Long userId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 考试时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考试时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examDate;

    /** 考试成绩 */
    @Excel(name = "考试成绩")
    private BigDecimal examScore;

    /** 当前录入人 */
//    @Excel(name = "当前录入人")
    private Long enterUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setTrainDate(Date trainDate) 
    {
        this.trainDate = trainDate;
    }

    public Date getTrainDate() 
    {
        return trainDate;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUsers(String users) 
    {
        this.users = users;
    }

    public String getUsers() 
    {
        return users;
    }
    public void setHour(BigDecimal hour) 
    {
        this.hour = hour;
    }

    public BigDecimal getHour() 
    {
        return hour;
    }
    public void setExtar1(String extar1) 
    {
        this.extar1 = extar1;
    }

    public String getExtar1() 
    {
        return extar1;
    }
    public void setExtar2(String extar2) 
    {
        this.extar2 = extar2;
    }

    public String getExtar2() 
    {
        return extar2;
    }
    public void setExtar3(String extar3) 
    {
        this.extar3 = extar3;
    }

    public String getExtar3() 
    {
        return extar3;
    }
    public void setExtar4(String extar4) 
    {
        this.extar4 = extar4;
    }

    public String getExtar4() 
    {
        return extar4;
    }
    public void setExtar5(String extar5) 
    {
        this.extar5 = extar5;
    }

    public String getExtar5() 
    {
        return extar5;
    }
    public void setExtar6(String extar6) 
    {
        this.extar6 = extar6;
    }

    public String getExtar6() 
    {
        return extar6;
    }
    public void setSign(String sign) 
    {
        this.sign = sign;
    }

    public String getSign() 
    {
        return sign;
    }
    public void setEffect(String effect) 
    {
        this.effect = effect;
    }

    public String getEffect() 
    {
        return effect;
    }
    public void setSummary(String summary) 
    {
        this.summary = summary;
    }

    public String getSummary() 
    {
        return summary;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setExamDate(Date examDate) 
    {
        this.examDate = examDate;
    }

    public Date getExamDate() 
    {
        return examDate;
    }
    public void setExamScore(BigDecimal examScore) 
    {
        this.examScore = examScore;
    }

    public BigDecimal getExamScore() 
    {
        return examScore;
    }
    public void setEnterUserId(Long enterUserId) 
    {
        this.enterUserId = enterUserId;
    }

    public Long getEnterUserId() 
    {
        return enterUserId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("trainDate", getTrainDate())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("content", getContent())
            .append("users", getUsers())
            .append("hour", getHour())
            .append("remark", getRemark())
            .append("extar1", getExtar1())
            .append("extar2", getExtar2())
            .append("extar3", getExtar3())
            .append("extar4", getExtar4())
            .append("extar5", getExtar5())
            .append("extar6", getExtar6())
            .append("sign", getSign())
            .append("effect", getEffect())
            .append("summary", getSummary())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("examDate", getExamDate())
            .append("examScore", getExamScore())
            .append("enterUserId", getEnterUserId())
            .toString();
    }
}
